# Wonder — Design Reference
> ink-black canvas lit by violet

**Source:** https://wonder.so  
**Theme:** dark  
**Category:** SaaS  
**Mood:** dark, precise, technical, minimal, typographic  
**Captured:** 2026-12-01

## Overview

Wonder reads like a design tool that escaped onto a marketing page: a near-black ground ruled with faint measurement guides and column hairlines, tight geometric headlines, and product screenshots floating in deep drop shadows. Everything is monochrome except a single electric violet that marks the one action that matters, plus occasional plum-to-amber gradient washes that bleed across full-width band sections. Documentation flips to a crisp white twin with the same shapes and the same violet, so the system reads as one family in two temperatures.

Technically it is achieved with a narrow toolkit: Uncut Sans at 42/34/30px with −0.025em tracking for every headline, Inter (tabular-digit variant) at 16–18px/1.5 for body, Paper Mono and JetBrains Mono for timestamps and code. Surfaces are stepped in tiny luminance increments (#0a0a0a → #171717 → #1c1c1c → #242424) rather than separated by heavy borders; separation comes from 1px rgba(255,255,255,0.07) hairlines and inset white glints on controls. Radii stay small and consistent (8px controls, 16px cards, pill badges), spacing runs on a 4px grid with 40px as the workhorse block padding, and the container caps at 1280px under a transparent 56px fixed nav.

## Tokens — Colors

| Name | Value | Token | Role |
|---|---|---|---|
| Void Black | `#0a0a0a` | `--color-background` | Page ground for every marketing page; the canvas behind hero, bands and ruler guides |
| Footer Pitch | `#060606` | `--color-background-footer` | Footer and ruler gutter fill, one step darker than the page to close the layout |
| Carbon Panel | `#171717` | `--color-card` | Dominant raised panel: feature cards, changelog tiles, app-window chrome; also the body text colour in the light docs theme |
| Graphite Surface | `#1c1c1c` | `--color-surface` | Pill badges, secondary buttons, popovers, FAQ rows, inputs |
| Slate Chrome | `#242424` | `--color-secondary` | Interior UI chrome in product shots, toolbar fills, hover state for graphite surfaces |
| Hairline Steel | `#2e2e2e` | `--color-border-strong` | Visible dividers inside product chrome and card edges when a solid border is needed |
| Paper White | `#ffffff` | `--color-foreground` | Headlines, primary labels, logo; also the ground of the docs/light theme |
| Mist Grey | `#9b9b9b` | `--color-muted-foreground` | Secondary paragraph copy, nav links, captions, metadata on dark |
| Graphite Ink | `#3f3f3f` | `--color-foreground-light-body` | Body copy in the light docs theme and the solid border value in dark chrome |
| Wonder Violet | `#b150e8` | `--color-primary` | The single CTA colour: Downloads, Download for macOS, Share, mobile primary buttons |
| Plum Shadow | `#611f90` | `--color-accent-muted` | Lower stop of CTA and band gradients; hover/pressed depth for the violet |
| Night Plum | `#34114d` | `--color-accent` | Tinted wash behind full-bleed feature bands, fading into the black ground |
| Mint Callout | `#f0fdf4` | `--color-success-surface` | Success/tip callout fill in the light docs theme, bordered #bbf7d0 |

### Semantic roles

| Role | Value |
|---|---|
| background | `#0a0a0a` |
| surface | `#171717` |
| surface raised | `#1c1c1c` |
| border | `rgba(255,255,255,0.07)` |
| text | `#ffffff` |
| text muted | `#9b9b9b` |
| primary | `#b150e8` |
| primary text | `#ffffff` |
| accent | `#34114d` |
| success | `#bbf7d0` |
| warning | `#c37d0d` |
| danger | `#d45656` |

## Tokens — Typography

- **Display:** Uncut Sans Variable (500, 600) — fallbacks: Inter, Helvetica Neue, system-ui, sans-serif. Every headline 24–42px, always 600 with −0.025em tracking and 1.04–1.2 line height. Never used below 18px.
- **Body:** Inter (400, 450, 500, 600) — fallbacks: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif. The tabular-digit Inter cut carries all paragraphs, UI labels, pricing numerals and FAQ summaries. Weight 450 is the house 'lead paragraph' weight.
- **Mono:** Paper Mono (400, 500) — fallbacks: JetBrains Mono, ui-monospace, SFMono-Regular, Menlo, monospace. Dates, CHANGELOG eyebrows, ruler numerals and code; often uppercased and letterspaced at 12px.
- **Accent:** Roller Script (400, 500) — fallbacks: Caveat, Segoe Script, cursive. Handwritten annotations only — 'Measurements', 'Gradients', 'Grid layouts', the '−20%' pricing tag. Max 3 per page.

| Role | Size | Line height | Weight | Letter spacing | Family |
|---|---|---|---|---|---|
| Display / H1 | 42px | 1.04 | 600 | -0.025em | display |
| H2 Section | 34px | 1.1 | 600 | -0.025em | display |
| H3 Card title | 30px | 1.2 | 600 | -0.025em | display |
| Subhead | 20px | 1.4 | 600 | -0.011em | body |
| Lead | 18px | 1.4 | 450 | 0 | body |
| Body | 16px | 1.5 | 400 | 0 | body |
| UI / Small | 14px | 1.4 | 500 | 0 | body |
| Caption Mono | 12px | 1.4 | 500 | 0.08em | mono |
| Script annotation | 24px | 1.2 | 400 | 0 | accent |

## Tokens — Spacing & Layout

- **Base unit:** 4px
- **Density:** comfortable
- **Container max width:** 1280px
- **Section gap:** 96px
- **Card padding:** 16px
- **Scale:** 2px, 4px, 6px, 8px, 12px, 16px, 24px, 32px, 40px, 56px, 96px, 128px

## Tokens — Radius

| Element | Value |
|---|---|
| Chips, inline tags, small icon buttons | 4px |
| Toolbar controls, tabs | 6px |
| Buttons, inputs, nav items | 8px |
| Nested panels, media thumbnails | 12px |
| Cards, product window frames, callouts | 16px |
| Pill badges, avatar stacks, toggles | 9999px |

## Tokens — Shadows

| Name | Value | Usage |
|---|---|---|
| elev-1 | `0 1px 1px -0.5px rgba(0,0,0,0.12)` | Resting lift on list rows and small chips |
| card | `0 1px 1px -0.5px rgba(0,0,0,0.12), 0 3px 3px -1.5px rgba(0,0,0,0.12), 0 6px 6px -3px rgba(0,0,0,0.12)` | Feature and changelog cards, popovers |
| control-glint | `inset 0 1px 0 0 rgba(255,255,255,0.32), inset 0 0 0 1px rgba(255,255,255,0.10)` | Top highlight + edge on the violet primary button and dark secondary buttons |
| surface-ring | `0 0 0 0.5px rgba(54,54,54,0.8), 0 1px 1px -0.5px rgba(0,0,0,0.35)` | Hairline ring around dark panels and app chrome instead of a border |
| hero-drop | `0 30px 80px -20px rgba(0,0,0,0.5)` | Large product screenshot frames floating over the black ground |

## Components

### Primary button (Downloads / Download for macOS) (button)

| Property | Value |
|---|---|
| background | `linear-gradient(180deg, #b150e8 0%, #9a3cd6 100%)` |
| color | `#ffffff` |
| border | `none` |
| radius | `8px` |
| padding | `8px 16px` |
| font size | `14px` |
| font weight | `500` |
| shadow | `inset 0 1px 0 0 rgba(255,255,255,0.32), inset 0 0 0 1px rgba(255,255,255,0.10)` |
| hover | `Lighten gradient toward #be63ef; no movement, no scale` |

Height ~32–36px on desktop. Optional 14px leading glyph (Apple logo) with 6px gap. Exactly one per viewport.

### Secondary button (Sign in / Request a demo) (button)

| Property | Value |
|---|---|
| background | `#1c1c1c` |
| color | `#ffffff` |
| border | `1px solid rgba(255,255,255,0.07)` |
| radius | `8px` |
| padding | `8px 16px` |
| font size | `14px` |
| font weight | `500` |
| shadow | `inset 0 1px 0 0 rgba(255,255,255,0.06)` |
| hover | `background rgba(255,255,255,0.10)` |

Sits immediately left of the primary with a 8–12px gap; same height and radius so the pair reads as one control group.

### Ghost nav item (link)

| Property | Value |
|---|---|
| background | `transparent` |
| color | `rgba(255,255,255,0.7)` |
| border | `none` |
| radius | `8px` |
| padding | `0 12px` |
| font size | `16px` |
| font weight | `400` |
| shadow | `none` |
| hover | `color #ffffff` |

32px hit height inside a 56px bar; 'Resources' carries a 12px chevron that rotates on open.

### Announcement pill (badge)

| Property | Value |
|---|---|
| background | `#1c1c1c` |
| color | `#ffffff` |
| border | `1px solid rgba(255,255,255,0.07)` |
| radius | `9999px` |
| padding | `8px 16px 8px 10px` |
| font size | `14px` |
| font weight | `450` |
| shadow | `0 0 0 0.5px rgba(54,54,54,0.8)` |
| hover | `background #242424` |

Opens with an overlapping stack of 18px agent logos (−6px margin between) then the label; always above the H1.

### Feature / changelog card (card)

| Property | Value |
|---|---|
| background | `#171717` |
| color | `#ffffff` |
| border | `1px solid rgba(255,255,255,0.07)` |
| radius | `16px` |
| padding | `16px` |
| font size | `16px` |
| font weight | `400` |
| shadow | `0 1px 1px -0.5px rgba(0,0,0,0.12), 0 3px 3px -1.5px rgba(0,0,0,0.12), 0 6px 6px -3px rgba(0,0,0,0.12)` |
| hover | `border-color rgba(255,255,255,0.14)` |

Image or product shot bleeds to the 12px inner radius at the top, then a 12px mono eyebrow (CHANGELOG · DATE), a 30px display title and 16px #9b9b9b body.

### Docs card / callout (light theme) (card)

| Property | Value |
|---|---|
| background | `#fafafa` |
| color | `#171717` |
| border | `1px solid #e5e5e5` |
| radius | `16px` |
| padding | `16px` |
| font size | `16px` |
| font weight | `400` |
| shadow | `none` |
| hover | `background #f3f3f3` |

Success variant swaps to #f0fdf4 fill with #bbf7d0 border; same radius and padding.

### Search input (docs sidebar) (input)

| Property | Value |
|---|---|
| background | `#ffffff` |
| color | `#262626` |
| border | `1px solid #e5e5e5` |
| radius | `8px` |
| padding | `8px 10px` |
| font size | `14px` |
| font weight | `400` |
| shadow | `0 1px 1px -0.5px rgba(0,0,0,0.12)` |
| hover | `border-color #cecece` |

Leading 14px search glyph, trailing 'Ctrl K' kbd chip at 12px in #eeeeee with 4px radius. Dark equivalent: #1c1c1c fill, rgba(255,255,255,0.07) border, #9b9b9b placeholder. Focus ring = 1px #b150e8.

### Top navigation (nav)

| Property | Value |
|---|---|
| background | `transparent` |
| color | `rgba(255,255,255,0.7)` |
| border | `none` |
| radius | `0` |
| padding | `0 40px` |
| font size | `16px` |
| font weight | `400` |
| shadow | `none` |
| hover | `links to #ffffff` |

Fixed, 56px tall, no blur and no bottom border — it just floats on the black. Wordmark left (22px glyph + 20px 600 text), centred link cluster, Sign in + Downloads right.

## Layout

1280px max content width centred on a black page that is framed by thin ruler gutters: a numbered horizontal rule along the top and a vertical one down the left, with 6rem (--grid-spacer) hairline column guides and diagonally hatched margins outside the content column. Sections alternate between bordered content rows (1px rgba(255,255,255,0.07) top/bottom rules that run the full width) and full-bleed gradient bands. The hero is a two-column split — 42px headline left, 18px lead plus button pair right — followed by an oversized product screenshot that spans the container. Feature sections use 2-up asymmetric grids (1fr 2fr or 2fr 1fr) with 32px gutters; pricing uses three columns separated by vertical hairlines instead of card borders.

## Imagery

Almost all imagery is the product itself: dark app windows at 16px radius with traffic-light chrome, shown at true pixel density and dropped on the page with 0 30px 80px -20px rgba(0,0,0,0.5). Inside those shots sit bright photography tiles (the 'Open Gallery' sample app) that provide the only real colour on the page. Full-bleed bands carry soft plum→amber radial gradients fading to #0a0a0a at the edges, overlaid with Roller Script annotations. Partner logos are rendered as single-colour white marks at ~60% opacity in one row.

## Motion

Restrained and mechanical: hover changes are colour-only (links to white, surfaces to rgba(255,255,255,0.1)), FAQ rows expand with a height transition and chevron rotation, and product screenshots animate only via fake cursors and highlight chips inside the frame. Use 150–200ms ease-out; no parallax, no card lift, no scale on buttons.

## Responsive

Below ~900px the centred link cluster collapses into a hamburger and the whole nav becomes a full-screen black overlay: the wordmark stays top-left, an X sits top-right, and links stack at ~32px/400 in #c9c9c9 with ~56px rhythm, grouped under a small grey 'Resources' label; the sheet is footed by a hairline rule and two full-width stacked buttons (secondary #1c1c1c 'Sign in' above the violet primary), both 8px radius and ~56px tall. The hero stacks to one column with the H1 dropping to ~40px/1.1, the lead paragraph to 18px, and both CTAs going 100% width with a 12px gap. Page padding drops from 40px to 24px, the ruler gutters and hatched margins are hidden, grids become single-column, and the product screenshot crops at the right edge rather than scaling down so the UI stays legible.

## Do

- Keep one violet action per view; everything else is a grey surface or a plain link.
- Separate dark panels with luminance steps (#0a0a0a → #171717 → #1c1c1c → #242424) plus a 1px rgba(255,255,255,0.07) hairline, never with a bright border.
- Set all headlines in Uncut Sans 600 with −0.025em tracking and ≤1.2 line height; let paragraphs breathe at 1.4–1.5 in Inter 400/450.
- Show the product full-size in a 16px-radius window with the hero-drop shadow rather than illustrating it.
- Use Paper Mono uppercase 12px with 0.08em tracking for dates, eyebrows and ruler numerals.
- Keep layout evidence visible: full-width hairline section rules, column guides and the ruler frame are part of the brand.

## Don't

- Don't tint the greys — every neutral is strictly achromatic; warmth only ever comes from gradient bands.
- Don't add glass blur or translucent backdrops to the nav; it stays fully transparent over black.
- Don't use the violet for body text, links, borders or icon fills — fills and focus rings only.
- Don't round buttons or cards beyond 8px / 16px; pills are reserved for badges and avatar stacks.
- Don't scatter the Roller Script annotations — three per page maximum, and never as UI labels.
- Don't stack heavy drop shadows on small cards; dark elevation is carried by the 1px inset ring.

## Agent prompt

> Build a dark, instrument-like SaaS marketing site: ground #0a0a0a (footer #060606), panels #171717, raised surfaces #1c1c1c, chrome #242424, hairlines 1px rgba(255,255,255,0.07), text #ffffff with #9b9b9b secondary, and exactly one accent — violet #b150e8 (gradient down to #9a3cd6, deep stop #611f90, tinted band wash #34114d). Headlines in Uncut Sans Variable 600 at 42px/1.04 (H1 and H2), 34px/1.1 and 30px/1.2, all at −0.025em; body in Inter 400/450 at 16px/1.5 and 18px/1.4; Paper Mono (fallback JetBrains Mono) uppercase 12px/0.08em for dates and eyebrows; a handwriting face (Roller Script / Caveat) at 24px for 2–3 annotations only. 4px spacing grid (2,4,6,8,12,16,24,32,40,56,96), 1280px container, 40px page padding, ~96px between sections, 16px card padding. Radii: 8px buttons/inputs, 12px nested panels, 16px cards and product frames, 9999px badges. Fixed 56px fully transparent nav with wordmark left, 16px/400 rgba(255,255,255,0.7) links centred, #1c1c1c 'Sign in' and violet 'Downloads' right. Primary button: violet gradient, white 14px/500 label, 8px radius, 8px 16px padding, inset 0 1px 0 rgba(255,255,255,0.32) and inset 0 0 0 1px rgba(255,255,255,0.10). Cards: #171717 on hairline border, 16px radius, shadow 0 1px 1px -.5px/0 3px 3px -1.5px/0 6px 6px -3px rgba(0,0,0,0.12). Frame the page with ruler gutters, numbered tick marks, 6rem hairline column guides and full-width section rules; feature the product as large dark screenshots with 0 30px 80px -20px rgba(0,0,0,0.5). Docs pages invert to #ffffff ground, #171717 text, #fafafa cards with #e5e5e5 borders, keeping the same violet and radii. Motion is colour-only at 150–200ms ease-out; on mobile collapse the nav into a full-screen black overlay with 32px stacked links and full-width stacked buttons.

## CSS custom properties

```css
/* Wonder — CSS custom properties. Generated from style.json */
:root {
  /* Palette */
  --color-background: #0a0a0a; /* Page ground for every marketing page; the canvas behind hero, bands and ruler guides */
  --color-background-footer: #060606; /* Footer and ruler gutter fill, one step darker than the page to close the layout */
  --color-card: #171717; /* Dominant raised panel: feature cards, changelog tiles, app-window chrome; also the body text colour in the light docs theme */
  --color-surface: #1c1c1c; /* Pill badges, secondary buttons, popovers, FAQ rows, inputs */
  --color-secondary: #242424; /* Interior UI chrome in product shots, toolbar fills, hover state for graphite surfaces */
  --color-border-strong: #2e2e2e; /* Visible dividers inside product chrome and card edges when a solid border is needed */
  --color-foreground: #ffffff; /* Headlines, primary labels, logo; also the ground of the docs/light theme */
  --color-muted-foreground: #9b9b9b; /* Secondary paragraph copy, nav links, captions, metadata on dark */
  --color-foreground-light-body: #3f3f3f; /* Body copy in the light docs theme and the solid border value in dark chrome */
  --color-primary: #b150e8; /* The single CTA colour: Downloads, Download for macOS, Share, mobile primary buttons */
  --color-accent-muted: #611f90; /* Lower stop of CTA and band gradients; hover/pressed depth for the violet */
  --color-accent: #34114d; /* Tinted wash behind full-bleed feature bands, fading into the black ground */
  --color-success-surface: #f0fdf4; /* Success/tip callout fill in the light docs theme, bordered #bbf7d0 */

  /* Semantic roles */
  --background: #0a0a0a;
  --surface: #171717;
  --surface-raised: #1c1c1c;
  --border: rgba(255,255,255,0.07);
  --text: #ffffff;
  --text-muted: #9b9b9b;
  --primary: #b150e8;
  --primary-text: #ffffff;
  --accent: #34114d;
  --success: #bbf7d0;
  --warning: #c37d0d;
  --danger: #d45656;

  /* Typography */
  --font-display: 'Uncut Sans Variable', Inter, 'Helvetica Neue', system-ui, sans-serif;
  --font-body: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Paper Mono', 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-accent: 'Roller Script', Caveat, 'Segoe Script', cursive;
  --text-display-h1: 42px;
  --text-display-h1--line-height: 1.04;
  --text-display-h1--letter-spacing: -0.025em;
  --text-display-h1--font-weight: 600;
  --text-h2-section: 34px;
  --text-h2-section--line-height: 1.1;
  --text-h2-section--letter-spacing: -0.025em;
  --text-h2-section--font-weight: 600;
  --text-h3-card-title: 30px;
  --text-h3-card-title--line-height: 1.2;
  --text-h3-card-title--letter-spacing: -0.025em;
  --text-h3-card-title--font-weight: 600;
  --text-subhead: 20px;
  --text-subhead--line-height: 1.4;
  --text-subhead--letter-spacing: -0.011em;
  --text-subhead--font-weight: 600;
  --text-lead: 18px;
  --text-lead--line-height: 1.4;
  --text-lead--letter-spacing: 0;
  --text-lead--font-weight: 450;
  --text-body: 16px;
  --text-body--line-height: 1.5;
  --text-body--letter-spacing: 0;
  --text-body--font-weight: 400;
  --text-ui-small: 14px;
  --text-ui-small--line-height: 1.4;
  --text-ui-small--letter-spacing: 0;
  --text-ui-small--font-weight: 500;
  --text-caption-mono: 12px;
  --text-caption-mono--line-height: 1.4;
  --text-caption-mono--letter-spacing: 0.08em;
  --text-caption-mono--font-weight: 500;
  --text-script-annotation: 24px;
  --text-script-annotation--line-height: 1.2;
  --text-script-annotation--letter-spacing: 0;
  --text-script-annotation--font-weight: 400;

  /* Spacing */
  --space-1: 2px;
  --space-2: 4px;
  --space-3: 6px;
  --space-4: 8px;
  --space-5: 12px;
  --space-6: 16px;
  --space-7: 24px;
  --space-8: 32px;
  --space-9: 40px;
  --space-10: 56px;
  --space-11: 96px;
  --space-12: 128px;
  --container: 1280px;
  --section-gap: 96px;

  /* Radius */
  --radius-chips-inline-tags-small-icon-buttons: 4px;
  --radius-toolbar-controls-tabs: 6px;
  --radius-buttons-inputs-nav-items: 8px;
  --radius-nested-panels-media-thumbnails: 12px;
  --radius-cards-product-window-frames-callouts: 16px;
  --radius-pill-badges-avatar-stacks-toggles: 9999px;

  /* Shadows */
  --shadow-elev-1: 0 1px 1px -0.5px rgba(0,0,0,0.12);
  --shadow-card: 0 1px 1px -0.5px rgba(0,0,0,0.12), 0 3px 3px -1.5px rgba(0,0,0,0.12), 0 6px 6px -3px rgba(0,0,0,0.12);
  --shadow-control-glint: inset 0 1px 0 0 rgba(255,255,255,0.32), inset 0 0 0 1px rgba(255,255,255,0.10);
  --shadow-surface-ring: 0 0 0 0.5px rgba(54,54,54,0.8), 0 1px 1px -0.5px rgba(0,0,0,0.35);
  --shadow-hero-drop: 0 30px 80px -20px rgba(0,0,0,0.5);
}
```

## Tailwind v4 theme

```css
/* Wonder — Tailwind CSS v4 theme. Import after tailwindcss: @import "tailwindcss"; then paste this block. */
@theme {
  --color-background: #0a0a0a;
  --color-background-footer: #060606;
  --color-card: #171717;
  --color-surface: #1c1c1c;
  --color-secondary: #242424;
  --color-border-strong: #2e2e2e;
  --color-foreground: #ffffff;
  --color-muted-foreground: #9b9b9b;
  --color-foreground-light-body: #3f3f3f;
  --color-primary: #b150e8;
  --color-accent-muted: #611f90;
  --color-accent: #34114d;
  --color-success-surface: #f0fdf4;
  --color-background: #0a0a0a;
  --color-surface: #171717;
  --color-surface-raised: #1c1c1c;
  --color-border: rgba(255,255,255,0.07);
  --color-text: #ffffff;
  --color-text-muted: #9b9b9b;
  --color-primary: #b150e8;
  --color-primary-text: #ffffff;
  --color-accent: #34114d;
  --color-success: #bbf7d0;
  --color-warning: #c37d0d;
  --color-danger: #d45656;
  --font-display: 'Uncut Sans Variable', Inter, 'Helvetica Neue', system-ui, sans-serif;
  --font-body: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Paper Mono', 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-accent: 'Roller Script', Caveat, 'Segoe Script', cursive;
  --text-display-h1: 42px;
  --text-display-h1--line-height: 1.04;
  --text-display-h1--letter-spacing: -0.025em;
  --text-display-h1--font-weight: 600;
  --text-h2-section: 34px;
  --text-h2-section--line-height: 1.1;
  --text-h2-section--letter-spacing: -0.025em;
  --text-h2-section--font-weight: 600;
  --text-h3-card-title: 30px;
  --text-h3-card-title--line-height: 1.2;
  --text-h3-card-title--letter-spacing: -0.025em;
  --text-h3-card-title--font-weight: 600;
  --text-subhead: 20px;
  --text-subhead--line-height: 1.4;
  --text-subhead--letter-spacing: -0.011em;
  --text-subhead--font-weight: 600;
  --text-lead: 18px;
  --text-lead--line-height: 1.4;
  --text-lead--letter-spacing: 0;
  --text-lead--font-weight: 450;
  --text-body: 16px;
  --text-body--line-height: 1.5;
  --text-body--letter-spacing: 0;
  --text-body--font-weight: 400;
  --text-ui-small: 14px;
  --text-ui-small--line-height: 1.4;
  --text-ui-small--letter-spacing: 0;
  --text-ui-small--font-weight: 500;
  --text-caption-mono: 12px;
  --text-caption-mono--line-height: 1.4;
  --text-caption-mono--letter-spacing: 0.08em;
  --text-caption-mono--font-weight: 500;
  --text-script-annotation: 24px;
  --text-script-annotation--line-height: 1.2;
  --text-script-annotation--letter-spacing: 0;
  --text-script-annotation--font-weight: 400;
  --radius-chips-inline-tags-small-icon-buttons: 4px;
  --radius-toolbar-controls-tabs: 6px;
  --radius-buttons-inputs-nav-items: 8px;
  --radius-nested-panels-media-thumbnails: 12px;
  --radius-cards-product-window-frames-callouts: 16px;
  --radius-pill-badges-avatar-stacks-toggles: 9999px;
  --shadow-elev-1: 0 1px 1px -0.5px rgba(0,0,0,0.12);
  --shadow-card: 0 1px 1px -0.5px rgba(0,0,0,0.12), 0 3px 3px -1.5px rgba(0,0,0,0.12), 0 6px 6px -3px rgba(0,0,0,0.12);
  --shadow-control-glint: inset 0 1px 0 0 rgba(255,255,255,0.32), inset 0 0 0 1px rgba(255,255,255,0.10);
  --shadow-surface-ring: 0 0 0 0.5px rgba(54,54,54,0.8), 0 1px 1px -0.5px rgba(0,0,0,0.35);
  --shadow-hero-drop: 0 30px 80px -20px rgba(0,0,0,0.5);
  --container-site: 1280px;
}
```

## Theme tokens — light + dark

The shadcn-named layer DevDojo Sites speaks (`bg-background`, `text-foreground`, `bg-primary`, `rounded-medium`…). Paste into site.css after `@import "tailwindcss"` to restyle any site in this look.

```css
/* Wonder — DevDojo theme tokens (light + dark). Generated from style.json. */
/* Drop into site.css after @import "tailwindcss": bg-background, text-foreground, bg-primary, border-border, rounded-medium… all read these. Both schemes come from the site. Add class="dark" to <html> for the site's native look. */
@custom-variant dark (&:where(.dark, .dark *));

:root {
    color-scheme: light;

    --background: #ffffff;
    --foreground: #171717;
    --card: #fafafa;
    --card-foreground: #171717;
    --popover: #ffffff;
    --popover-foreground: #262626; /* estimated */
    --primary: #b150e8;
    --primary-foreground: #ffffff;
    --secondary: #f3f3f3;
    --secondary-foreground: #262626;
    --muted: #eeeeee;
    --muted-foreground: #707070;
    --accent: #f4e9fc; /* estimated */
    --accent-foreground: #611f90; /* estimated */
    --destructive: #d45656;
    --destructive-foreground: #ffffff;
    --border: #e5e5e5;
    --input: #e5e5e5;
    --ring: #b150e8; /* estimated */

    --radius-small: 6px;
    --radius-medium: 10px;
    --radius-large: 16px;
    --radius: var(--radius-medium);

    --font-display: 'Uncut Sans Variable', Inter, 'Helvetica Neue', system-ui, sans-serif;
    --font-body: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'Paper Mono', 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

.dark {
    color-scheme: dark;

    --background: #0a0a0a;
    --foreground: #ffffff;
    --card: #171717;
    --card-foreground: #ffffff;
    --popover: #1c1c1c;
    --popover-foreground: rgba(255,255,255,0.8);
    --primary: #b150e8;
    --primary-foreground: #ffffff;
    --secondary: #242424;
    --secondary-foreground: #eeeeee;
    --muted: #1c1c1c;
    --muted-foreground: #9b9b9b;
    --accent: #34114d;
    --accent-foreground: #e8e8e8;
    --destructive: #d45656;
    --destructive-foreground: #ffffff; /* estimated */
    --border: rgba(255,255,255,0.07);
    --input: #242424;
    --ring: #b150e8; /* estimated */
}

@theme inline {
    --color-background: var(--background);
    --color-foreground: var(--foreground);
    --color-card: var(--card);
    --color-card-foreground: var(--card-foreground);
    --color-popover: var(--popover);
    --color-popover-foreground: var(--popover-foreground);
    --color-primary: var(--primary);
    --color-primary-foreground: var(--primary-foreground);
    --color-secondary: var(--secondary);
    --color-secondary-foreground: var(--secondary-foreground);
    --color-muted: var(--muted);
    --color-muted-foreground: var(--muted-foreground);
    --color-accent: var(--accent);
    --color-accent-foreground: var(--accent-foreground);
    --color-destructive: var(--destructive);
    --color-destructive-foreground: var(--destructive-foreground);
    --color-border: var(--border);
    --color-input: var(--input);
    --color-ring: var(--ring);
    --radius-small: var(--radius-small);
    --radius-medium: var(--radius-medium);
    --radius-large: var(--radius-large);
    --font-display: var(--font-display);
    --font-body: var(--font-body);
    --font-mono: var(--font-mono);
}
```
